import { Input } from 'antd'

const InputText = (props) => {
  return <Input
    autoComplete="off"
    {...props}
    onChange={e => {
      props.onChange(e.target.value)
    }}
  ></Input>
}

InputText.propsMap = [
  {
    type: 'int',
    name: 'maxLength',
    label: '最大长度'
  }
]

export default InputText